home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / hotkey-setup.postinst < prev    next >
Encoding:
Text File  |  2007-04-13  |  531 b   |  21 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Remove shutdown and reboot links; this init script does not need them.
  6. if dpkg --compare-versions "$2" lt "0.1-17ubuntu1"; then
  7.     rm -f /etc/rc0.d/K20hotkey-setup /etc/rc6.d/K20hotkey-setup
  8. fi
  9.  
  10. # Automatically added by dh_installinit
  11. if [ -x "/etc/init.d/hotkey-setup" ]; then
  12.     update-rc.d hotkey-setup multiuser >/dev/null
  13.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  14.         invoke-rc.d hotkey-setup start || exit $?
  15.     else
  16.         /etc/init.d/hotkey-setup start || exit $?
  17.     fi
  18. fi
  19. # End automatically added section
  20.  
  21.